.editor-ground-control {
	display: flex;
	align-items: center;
	padding: 0;
	margin-bottom: 0;
	transition: 0.3s box-shadow;
	position: fixed;
	top: 47px;
	left: 0;
	right: 0;
	z-index: z-index( 'root', '.editor-ground-control' );

	@include breakpoint( "<660px" ) {
		padding-top: 0;
	}
}

.editor-ground-control .site,
.editor-ground-control .editor-ground-control__status,
.editor-ground-control .editor-ground-control__action-buttons {
	height: 46px;
	line-height: 46px;
}

.editor-ground-control .site {
	flex: 0 0 auto;
	max-width: $sidebar-width-max;

	@include breakpoint( "<660px" ) {
		display: none;
	}
}

.editor-ground-control .site .site__title::after,
.editor-ground-control .site .site__domain::after {
	width: 16px;
}

.editor-ground-control .site .site__info {
	width: auto;
}

.editor-ground-control__separator {
	margin: 0 -16px;
	background: lighten( $gray, 30 );
}

.editor-ground-control__status {
	display: flex;
	min-height: 20px;
	justify-content: space-between;
	margin: 0 auto 0 0;
	position: relative;
	border-left: 1px solid lighten( $gray, 25% );
	padding-left: 16px;

	@include breakpoint( "<660px" ) {
		border-left: none;
	}
}

.editor-ground-control__action-buttons {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	padding: 0 12px;
	line-height: 32px;
}

.editor-ground-control__action-buttons .button.is-borderless {
	padding: 0 12px;
	line-height: 46px;
}

.editor-ground-control__action-buttons .button.is-borderless svg {
	top: 7px;
}

.editor-ground-control__preview-button {
	display: block;
	flex-grow: 1;
}

.editor-ground-control__toggle-sidebar {
	margin-right: 8px;
}

.focus-sidebar .editor-ground-control__toggle-sidebar:hover,
.focus-sidebar .editor-ground-control__toggle-sidebar:focus,
.focus-sidebar .editor-ground-control__toggle-sidebar {
	color: $blue-medium;
	box-shadow: inset 0 -3px $blue-medium;
}

.editor-ground-control__toggle-sidebar.button.is-borderless,
.editor-ground-control__preview-button.button.is-borderless {
	font-size: 13px;
}

.editor-ground-control__publish-combo {
	flex-grow: 1;
	display: flex;
	margin: 0 4px;
}

.editor-ground-control .editor-publish-button {
	border-radius: 4px 0 0 4px;
	flex-grow: 1;
	padding: 5px 14px 7px;
}

.editor-ground-control__time-button {
	border-radius: 0 4px 4px 0;
	padding-left: 8px;
	padding-right: 8px;
	margin-left: -1px;
}

.editor-ground-control__time-button-label {
	padding-left: 8px;
	display: none;
}

.editor-ground-control__save.button.is-link,
.editor-ground-control__save-status {
	text-decoration: underline;
	font-size: 13px;
}

.editor-ground-control__save-status {
	text-decoration: none;
	color: lighten( $gray, 20% );
}

.editor-ground-control__schedule-post {
	box-sizing: border-box;
	display: block;
	padding: 0 16px;
	width: 237px;

	.async-load {
		margin: 16px 0;
		width: auto;
	}
}

.editor-ground-control .edit-post-status {
	border-top: 1px solid lighten( $gray, 30% );
	border-bottom: 1px solid lighten( $gray, 30% );
	margin: 0 -16px 16px;
	padding: 16px;
}

.editor-ground-control__view-site-tooltip {
	font-size: 12px;
}

.editor-ground-control__email-verification-notice {
	@include breakpoint( "<660px" ) {
		display: none;
	}

	font-size: 13px;
	padding: 8px 8px 8px 40px;
	background: white;
	position: relative;
	color: $blue-wordpress;
	border: 1px solid lighten( $gray, 20% );
	cursor: pointer;
	fill: $blue-wordpress;
	position: absolute;
	z-index: 1;
	right: 4px;
	top: 40px;
	border-radius: 2px;
	box-shadow: 0 1px 4px rgba($gray-dark, 0.2);;
	max-width: 264px;
	box-sizing: border-box;

	&::before {
		content: '';
		display: block;
		width: 10px;
		height: 10px;
		background: white;
		position: absolute;
		top: -6px;
		right: 48px;
		transform: translate(-50%) rotate(45deg);
		border-top: 1px solid lighten( $gray, 20% );
		border-left: 1px solid lighten( $gray, 20% );
	}

	&:focus:not(:active) {
		box-shadow: 0 0 0 2px $blue-light;
		z-index: 1;
		border-top-color: $gray;
		border-bottom: 1px solid $gray;
	}

	&:hover {
		color: $blue-medium;
		fill: $blue-medium;
	}
}

.editor-ground-control__email-verification-notice-icon {
	position: absolute;
	left: 8px;
	top: 11px;
}

.editor-ground-control__email-verification-notice-more {
	text-decoration: underline;
}

.editor-ground-control__back.button.is-borderless {
	border-right: 1px solid lighten( $gray, 25% );
	padding: 6px 10px;
	height: 46px;

	.gridicon {
		top: 4px;
	}
}

.editor-ground-control__button-label {
	@include breakpoint( "<960px" ) {
		display: none;
	}

	.post-status {
		display: none;
	}

}
